SRFM\Inc\Form_Submit D

Total Complexity 152
Dependencies 10
Dependents 1
Total lines 819
Lines of code 563
Logical lines of code 323
Comment lines 118
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
handle_form_submission()
D
19
73 168
handle_form_entry()
C
28
24 141
send_email()
A
41 13 53
field_unique_validation()
A
40 11 57
prepare_submission_data()
S
54 7 20
validate_turnstile_token()
S
49 5 33
validate_hcaptcha_token()
S
49 5 33
srfm_global_sidebar_enabled()
S
59 5 14
srfm_global_update_allowed_block()
S
59 4 14
permissions_check()
S
69 2 6
register_custom_endpoint()
S
64 1 11
__construct()
S
68 1 7
change_upload_dir()
S
70 1 6